/*class LOL{
    private String league;
     int num;

    public String getLeague() {
        return league;
    }

    public void setLeague(String league) {
        this.league = league;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }
}

public class Main {
    public static void main(String[] args) {
        LOL kzf=new LOL();
        kzf.num=2;
    }
}*/

/*class Test {
    public static void hello() {
        System.out.println("hello");
    }
}
public class Main {
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        Test test=null;
        test.hello();
    }
}*/
/*public class Main {
    public int aMethod(){
         int i = 0;
        i++;
        return i;
    }
    public static void main(String args[]){
        Main test = new Main();
        test.aMethod();
        int j = test.aMethod();
        System.out.println(j);
    }
}*/
/*
public class Main{

    private int count;

    public static void main(String[] args) {

        Main test=new Main(88);

        System.out.println(test.count);

    }

    Main(int a) {

        count=a;

    }
}
*/
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNextInt()) {
            int x = scanner.nextInt();
            int y = scanner.nextInt();
            Data data = new Data(x, y);
            System.out.println(data.getX() + data.getY());
        }
    }
}

class Data {
    private int x;
    private int y;
    public Data(int x, int y) {
        this.x = x;
        this.y = y;
    }
    public int getX() {
        return x;
    }
    public int getY() {
        return y;
    }
}
